package com.ruoyi.voucher.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.voucher.dao.PageDao;
import com.ruoyi.voucher.domain.FxyFinancialVoucher;
import com.ruoyi.voucher.domain.FxyFinancialVoucherDetails;
import com.ruoyi.voucher.domain.TbDetail;
import com.ruoyi.voucher.vo.FxyFinancialVoucherDetailsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author
 * @Date 2025/2/25 9:44
 * @Description:
 */
@Mapper
public interface VoucherMapper extends BaseMapper<FxyFinancialVoucher> {

    int insertVoucher(List<FxyFinancialVoucher> fxyFinancialVoucher);

    List<FxyFinancialVoucherDetailsVo> voucherList(PageDao pageDao);

    List<FxyFinancialVoucherDetails>  selectDetailsList();

    int insertTbDetail(TbDetail tbDetail);
}
